<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
      background-color: rgb(240, 238, 239);

    }

    .btn {
      background-color: rgb(240, 238, 239);
      margin: 0 auto;
      margin-top: 10vh;
      width: 200px;
      height: 100px;
      border-radius: 5px;
      transition: all 1s;
      cursor: pointer;
    }

    .out {
      box-shadow: -9px -8px 4px rgb(245, 243, 244),
        5px 6px 13px rgb(217, 217, 217),
        0px 0px 0px rgb(217, 217, 217) inset;

    }

    .out:hover {
      box-shadow: 5px 6px 13px rgb(217, 217, 217) inset, -9px -8px 4px rgb(245, 243, 244) inset;
    }
  </style>
</head>

<body>
  <div class="btn out"></div>
  <div class="btn out"></div>
</body>

</html>